package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2023/3/3 14:45
 * @Describe    :
 */
@Parcelize
class EvaluatedListResponse(

    var total: Int = 0,
    var list: ArrayList<ListBean> = ArrayList()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class ListBean(

        var goodsId: Int = 0,
        var goodsEvaluate: String = "",
        var goodsRating: Int = 0,
        var images: String = "",
        var imgPath: ArrayList<String> = arrayListOf(),
        var auditStatus: Int = 0,
        var shopId: Int = 0,
        var shopName: String = "",
        var goodsName: String = "",
        var editTime: String = "",
        var specName: String = "",
        var id: Int = 0,
        var goodsImg: String = ""

        ) : Parcelable
}